Flutter Widgets -

Basic Widget

Container

​ 1. Container

属性 类型 默认值 说明
alignment AlignmentGeometry Align the child within the container.
constraints
decoration Decoration
foregroundDecoration
margin
padding
transform
child Widget 被Container 包含的子Widget

Row

Column

Image

Text

Icon

RaisedButton

Scaffold

Appbar

Placeholder